{include file="header.tpl"}


<div id="contenido">
	<div class="selectorTrends">
		<div class="floatLeft">
			<span class="negrita">Trends: </span>
		</div>
		<div class="">
			<SELECT NAME="locationsAvailableCombo" onchange="probarAjax(this);"> 
				{foreach $locationsAvailable as $location}
				<OPTION VALUE="{$location->woeid}">{$location->name}</OPTION>
				{/foreach}
			</SELECT> 
		</div>
	</div>
	
	
	<div class="localTrends trends clearBoth">
		{foreach $trends as $trend}
		<div class="trend">
			<div class="descripcionTrend">
				<a href="{$trend->url}">{$trend->name}</a>
			</div>
			<div class="operationsTrends">
				<span onclick="findTwittsForTrends('{$trend->url}')">Find Twitts</span> | <span onclick="findConversationsForTrends('{$trend->url}')">Find last conversations</span>
			</div>
		</div>
		{/foreach}
	</div>
</div>

{include file="footer.tpl"}